package com.itoken.admin.controller;

import com.itoken.admin.service.IAdminService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.annotation.Resource;

/**
 * @author
 * @date 2020/3/18
 */
@Controller
public class AdminController {

    @Resource
    IAdminService adminService;

    @GetMapping("/admin")
    public String goToLogin() {
        String login = adminService.login("", "");
        System.out.println(login);
        return "index";
    }
}
